package com.mzkj.wanjulaile.mobile.api.modules.weChat.entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Copyright © 2016 上海美挚网络. All rights reserved.
 *
 * @Projec: meilein
 * @Package:in.meile.print.modules.mobile.entity
 * @Description:微信消息基类
 * @author:bing
 * @date:16/4/26 下午4:02
 * @version:V1.0
 */
public class BaseMessage {

	/**开发者微信号*/
	@XStreamAlias("ToUserName")
	private String toUserName;
	/**发送方帐号（一个OpenID）*/
	@XStreamAlias("FromUserName")
	private String fromUserName;
	/**消息创建时间 （整型）*/
	@XStreamAlias("CreateTime")
	private long createTime;
	/**消息类型（text/image/location/link）*/
	@XStreamAlias("MsgType")
	private String msgType;

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
}
